<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>{{ config("blog.title")}} 管理后台</title>

    <link rel="stylesheet" href="{{asset('css/app.css')}}">
    @yield('styles')
</head>
<body>
    <nav class="navbar navbar-expand-md navbar-light">
        <div class="container">
            <a href="#" class="navbar-brand mr-auto mr-lg-0">{{ config('blog.title')}}后台</a>
            <button class="navbar-toggler p-0 border-0" type="button" data-toggle="collapse" data-toggle="#navbar-menu"
                aria-controls="navbar-menu" aria-expanded="false" ariin>
                <span class="navbar-toggler-icon"></span>
            </button>

            <div class="collapse navbar-collapse" id="navbar-menu">
                @include('admin.partials.navbar')
            </div>
        </div>
    </nav>
    <main>
        @yield('content')
    </main>
    <script src="{{ asset('js/app.js')}}"></script>
    @yield('scripts')
</body>
</html>